#include "teaitem.h"
#include "ui_teaitem.h"

TeaItem::TeaItem(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::TeaItem)
{
    ui->setupUi(this);

}

void TeaItem::setTeaInfo(QString id,QString name,QString course)
{
    ui->label_id->setText(id);
    ui->label_name->setText(name);
    ui->label_course->setText(course);
}

TeaItem::~TeaItem()
{
    delete ui;
}
